package com.yugao.fintech.libra.model.vo.user;

import com.yugao.fintech.libra.model.vo.dept.DeptResp;
import com.yugao.fintech.libra.model.vo.tenant.TenantResp;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;
import java.util.Set;


@Getter
@Setter
@ToString
public class UserInfoResp {
    /**
     *  0:无部门 1:一个部门 2:多个部门
     */
    private int multiDept;
    private UserResp userInfo;
    private Set<String> roles;
    private Set<String> permissions;
    private TenantResp tenant;
    private List<DeptResp> deptList;
}
